<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>libcoap: coap_session_t Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">libcoap<span id="projectnumber">&#160;4.2.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.8 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(document).ready(function(){initNavTree('structcoap__session__t.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-attribs">Data Fields</a>  </div>
  <div class="headertitle"><div class="title">coap_session_t Struct Reference</div></div>
</div><!--header-->
<div class="contents">

<p><code>#include &lt;<a class="el" href="coap__session_8h_source.html">coap_session.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
Data Fields</h2></td></tr>
<tr class="memitem:ab1a71a0cb19b2d509e7ac44a586a4e78" id="r_ab1a71a0cb19b2d509e7ac44a586a4e78"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcoap__session__t.html">coap_session_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#ab1a71a0cb19b2d509e7ac44a586a4e78">next</a></td></tr>
<tr class="separator:ab1a71a0cb19b2d509e7ac44a586a4e78"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a62089dd9c72836d322ae0ce0d0e7114f" id="r_a62089dd9c72836d322ae0ce0d0e7114f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="pdu_8h.html#a9f23fe72ad67820dcdf888bb8b619dde">coap_proto_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a62089dd9c72836d322ae0ce0d0e7114f">proto</a></td></tr>
<tr class="memdesc:a62089dd9c72836d322ae0ce0d0e7114f"><td class="mdescLeft">&#160;</td><td class="mdescRight">protocol used  <br /></td></tr>
<tr class="separator:a62089dd9c72836d322ae0ce0d0e7114f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac39d8e22dbd5389177a75819dab125ea" id="r_ac39d8e22dbd5389177a75819dab125ea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="coap__session_8h.html#a53c0f7c2c9ea53e2abc29d308337d4a5">coap_session_type_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#ac39d8e22dbd5389177a75819dab125ea">type</a></td></tr>
<tr class="memdesc:ac39d8e22dbd5389177a75819dab125ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">client or server side socket  <br /></td></tr>
<tr class="separator:ac39d8e22dbd5389177a75819dab125ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a382b6afaed298581b57d62aaf043cfe3" id="r_a382b6afaed298581b57d62aaf043cfe3"><td class="memItemLeft" align="right" valign="top"><a class="el" href="coap__session_8h.html#a3e23bae819060da9cb76d8fc8aae9001">coap_session_state_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a382b6afaed298581b57d62aaf043cfe3">state</a></td></tr>
<tr class="memdesc:a382b6afaed298581b57d62aaf043cfe3"><td class="mdescLeft">&#160;</td><td class="mdescRight">current state of relationaship with peer  <br /></td></tr>
<tr class="separator:a382b6afaed298581b57d62aaf043cfe3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6efb100633d8a819e427cf1f97015440" id="r_a6efb100633d8a819e427cf1f97015440"><td class="memItemLeft" align="right" valign="top">unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a6efb100633d8a819e427cf1f97015440">ref</a></td></tr>
<tr class="memdesc:a6efb100633d8a819e427cf1f97015440"><td class="mdescLeft">&#160;</td><td class="mdescRight">reference count from queues  <br /></td></tr>
<tr class="separator:a6efb100633d8a819e427cf1f97015440"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a35d1d5a9363771686717634558f9a9f4" id="r_a35d1d5a9363771686717634558f9a9f4"><td class="memItemLeft" align="right" valign="top">unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a35d1d5a9363771686717634558f9a9f4">tls_overhead</a></td></tr>
<tr class="memdesc:a35d1d5a9363771686717634558f9a9f4"><td class="mdescLeft">&#160;</td><td class="mdescRight">overhead of TLS layer  <br /></td></tr>
<tr class="separator:a35d1d5a9363771686717634558f9a9f4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac126597f3f66272ed3e9c5439570e4df" id="r_ac126597f3f66272ed3e9c5439570e4df"><td class="memItemLeft" align="right" valign="top">unsigned&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#ac126597f3f66272ed3e9c5439570e4df">mtu</a></td></tr>
<tr class="memdesc:ac126597f3f66272ed3e9c5439570e4df"><td class="mdescLeft">&#160;</td><td class="mdescRight">path or CSM mtu  <br /></td></tr>
<tr class="separator:ac126597f3f66272ed3e9c5439570e4df"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abc8462729a3fcdf21edc2aae125c04b8" id="r_abc8462729a3fcdf21edc2aae125c04b8"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcoap__address__t.html">coap_address_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#abc8462729a3fcdf21edc2aae125c04b8">local_if</a></td></tr>
<tr class="memdesc:abc8462729a3fcdf21edc2aae125c04b8"><td class="mdescLeft">&#160;</td><td class="mdescRight">optional local interface address  <br /></td></tr>
<tr class="separator:abc8462729a3fcdf21edc2aae125c04b8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5e1b647f8b5ce42ea7a0d0893fb3504a" id="r_a5e1b647f8b5ce42ea7a0d0893fb3504a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcoap__address__t.html">coap_address_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a5e1b647f8b5ce42ea7a0d0893fb3504a">remote_addr</a></td></tr>
<tr class="memdesc:a5e1b647f8b5ce42ea7a0d0893fb3504a"><td class="mdescLeft">&#160;</td><td class="mdescRight">remote address and port  <br /></td></tr>
<tr class="separator:a5e1b647f8b5ce42ea7a0d0893fb3504a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a527f7977596333c89e623c3deb621d25" id="r_a527f7977596333c89e623c3deb621d25"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcoap__address__t.html">coap_address_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a527f7977596333c89e623c3deb621d25">local_addr</a></td></tr>
<tr class="memdesc:a527f7977596333c89e623c3deb621d25"><td class="mdescLeft">&#160;</td><td class="mdescRight">local address and port  <br /></td></tr>
<tr class="separator:a527f7977596333c89e623c3deb621d25"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcebad5cfefed99f0073ac037ba7d997" id="r_afcebad5cfefed99f0073ac037ba7d997"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#afcebad5cfefed99f0073ac037ba7d997">ifindex</a></td></tr>
<tr class="memdesc:afcebad5cfefed99f0073ac037ba7d997"><td class="mdescLeft">&#160;</td><td class="mdescRight">interface index  <br /></td></tr>
<tr class="separator:afcebad5cfefed99f0073ac037ba7d997"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a29f92f61ab5c863c90254ce71e3859eb" id="r_a29f92f61ab5c863c90254ce71e3859eb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcoap__socket__t.html">coap_socket_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a29f92f61ab5c863c90254ce71e3859eb">sock</a></td></tr>
<tr class="memdesc:a29f92f61ab5c863c90254ce71e3859eb"><td class="mdescLeft">&#160;</td><td class="mdescRight">socket object for the session, if any  <br /></td></tr>
<tr class="separator:a29f92f61ab5c863c90254ce71e3859eb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a351217007fcd02e549b73569577fa5a1" id="r_a351217007fcd02e549b73569577fa5a1"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcoap__endpoint__t.html">coap_endpoint_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a351217007fcd02e549b73569577fa5a1">endpoint</a></td></tr>
<tr class="memdesc:a351217007fcd02e549b73569577fa5a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">session's endpoint  <br /></td></tr>
<tr class="separator:a351217007fcd02e549b73569577fa5a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8f8e37457b167cc8b95fadd7eeffd8d7" id="r_a8f8e37457b167cc8b95fadd7eeffd8d7"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcoap__context__t.html">coap_context_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a8f8e37457b167cc8b95fadd7eeffd8d7">context</a></td></tr>
<tr class="memdesc:a8f8e37457b167cc8b95fadd7eeffd8d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">session's context  <br /></td></tr>
<tr class="separator:a8f8e37457b167cc8b95fadd7eeffd8d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9eb6890809e9aa01d225691bb4ae97db" id="r_a9eb6890809e9aa01d225691bb4ae97db"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a9eb6890809e9aa01d225691bb4ae97db">tls</a></td></tr>
<tr class="memdesc:a9eb6890809e9aa01d225691bb4ae97db"><td class="mdescLeft">&#160;</td><td class="mdescRight">security parameters  <br /></td></tr>
<tr class="separator:a9eb6890809e9aa01d225691bb4ae97db"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a66b26cc53491f7a550ed7e7d93b0b145" id="r_a66b26cc53491f7a550ed7e7d93b0b145"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a66b26cc53491f7a550ed7e7d93b0b145">tx_mid</a></td></tr>
<tr class="memdesc:a66b26cc53491f7a550ed7e7d93b0b145"><td class="mdescLeft">&#160;</td><td class="mdescRight">the last message id that was used in this session  <br /></td></tr>
<tr class="separator:a66b26cc53491f7a550ed7e7d93b0b145"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab360022130771a166ea0e93a1876ced4" id="r_ab360022130771a166ea0e93a1876ced4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#ab360022130771a166ea0e93a1876ced4">con_active</a></td></tr>
<tr class="memdesc:ab360022130771a166ea0e93a1876ced4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Active CON request sent.  <br /></td></tr>
<tr class="separator:ab360022130771a166ea0e93a1876ced4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a84e90d62fbc324bdf21041269befe30d" id="r_a84e90d62fbc324bdf21041269befe30d"><td class="memItemLeft" align="right" valign="top">struct <a class="el" href="structcoap__queue__t.html">coap_queue_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a84e90d62fbc324bdf21041269befe30d">delayqueue</a></td></tr>
<tr class="memdesc:a84e90d62fbc324bdf21041269befe30d"><td class="mdescLeft">&#160;</td><td class="mdescRight">list of delayed messages waiting to be sent  <br /></td></tr>
<tr class="separator:a84e90d62fbc324bdf21041269befe30d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af59543a005a01767382c6739cd710ee4" id="r_af59543a005a01767382c6739cd710ee4"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#af59543a005a01767382c6739cd710ee4">partial_write</a></td></tr>
<tr class="memdesc:af59543a005a01767382c6739cd710ee4"><td class="mdescLeft">&#160;</td><td class="mdescRight">if &gt; 0 indicates number of bytes already written from the pdu at the head of sendqueue  <br /></td></tr>
<tr class="separator:af59543a005a01767382c6739cd710ee4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a580cf637bab6c459b600f83b3fe0e720" id="r_a580cf637bab6c459b600f83b3fe0e720"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a580cf637bab6c459b600f83b3fe0e720">read_header</a> [8]</td></tr>
<tr class="memdesc:a580cf637bab6c459b600f83b3fe0e720"><td class="mdescLeft">&#160;</td><td class="mdescRight">storage space for header of incoming message header  <br /></td></tr>
<tr class="separator:a580cf637bab6c459b600f83b3fe0e720"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9a70d6293b5af4165ad58115f1a4e63a" id="r_a9a70d6293b5af4165ad58115f1a4e63a"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a9a70d6293b5af4165ad58115f1a4e63a">partial_read</a></td></tr>
<tr class="memdesc:a9a70d6293b5af4165ad58115f1a4e63a"><td class="mdescLeft">&#160;</td><td class="mdescRight">if &gt; 0 indicates number of bytes already read for an incoming message  <br /></td></tr>
<tr class="separator:a9a70d6293b5af4165ad58115f1a4e63a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d91d4ac95843b0a893e4d22f081f611" id="r_a2d91d4ac95843b0a893e4d22f081f611"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a2d91d4ac95843b0a893e4d22f081f611">partial_pdu</a></td></tr>
<tr class="memdesc:a2d91d4ac95843b0a893e4d22f081f611"><td class="mdescLeft">&#160;</td><td class="mdescRight">incomplete incoming pdu  <br /></td></tr>
<tr class="separator:a2d91d4ac95843b0a893e4d22f081f611"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a28348c0c301bce7201403aa5545ef2b6" id="r_a28348c0c301bce7201403aa5545ef2b6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__clock.html#ga97ff1502e211b4ee6c3f15a598833438">coap_tick_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a28348c0c301bce7201403aa5545ef2b6">last_rx_tx</a></td></tr>
<tr class="separator:a28348c0c301bce7201403aa5545ef2b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad69783e1a9bc85a43d0bd6511de2c6a0" id="r_ad69783e1a9bc85a43d0bd6511de2c6a0"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__clock.html#ga97ff1502e211b4ee6c3f15a598833438">coap_tick_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#ad69783e1a9bc85a43d0bd6511de2c6a0">last_tx_rst</a></td></tr>
<tr class="separator:ad69783e1a9bc85a43d0bd6511de2c6a0"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abe9912fc16ffc9c9f54b9cc0e898d0fb" id="r_abe9912fc16ffc9c9f54b9cc0e898d0fb"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__clock.html#ga97ff1502e211b4ee6c3f15a598833438">coap_tick_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#abe9912fc16ffc9c9f54b9cc0e898d0fb">last_ping</a></td></tr>
<tr class="separator:abe9912fc16ffc9c9f54b9cc0e898d0fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a017ee7bfd8942df7a1c656fe52d5ac6a" id="r_a017ee7bfd8942df7a1c656fe52d5ac6a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__clock.html#ga97ff1502e211b4ee6c3f15a598833438">coap_tick_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a017ee7bfd8942df7a1c656fe52d5ac6a">last_pong</a></td></tr>
<tr class="separator:a017ee7bfd8942df7a1c656fe52d5ac6a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af8b4ea1655029f581c5a85c93f4c742d" id="r_af8b4ea1655029f581c5a85c93f4c742d"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__clock.html#ga97ff1502e211b4ee6c3f15a598833438">coap_tick_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#af8b4ea1655029f581c5a85c93f4c742d">csm_tx</a></td></tr>
<tr class="separator:af8b4ea1655029f581c5a85c93f4c742d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8a7bb416f1b131d5eeddd2c7915d4e3e" id="r_a8a7bb416f1b131d5eeddd2c7915d4e3e"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a8a7bb416f1b131d5eeddd2c7915d4e3e">psk_identity</a></td></tr>
<tr class="separator:a8a7bb416f1b131d5eeddd2c7915d4e3e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3d42db7192f7dd9b4dbc580623ae80b2" id="r_a3d42db7192f7dd9b4dbc580623ae80b2"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a3d42db7192f7dd9b4dbc580623ae80b2">psk_identity_len</a></td></tr>
<tr class="separator:a3d42db7192f7dd9b4dbc580623ae80b2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a68e9ded6d8b771bba584d50809cee98c" id="r_a68e9ded6d8b771bba584d50809cee98c"><td class="memItemLeft" align="right" valign="top"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a68e9ded6d8b771bba584d50809cee98c">psk_key</a></td></tr>
<tr class="separator:a68e9ded6d8b771bba584d50809cee98c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af95ccb69ae49c6d8a2a3ccbd8d967067" id="r_af95ccb69ae49c6d8a2a3ccbd8d967067"><td class="memItemLeft" align="right" valign="top">size_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#af95ccb69ae49c6d8a2a3ccbd8d967067">psk_key_len</a></td></tr>
<tr class="separator:af95ccb69ae49c6d8a2a3ccbd8d967067"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab7bbc675ecb1bc714b160aba22393406" id="r_ab7bbc675ecb1bc714b160aba22393406"><td class="memItemLeft" align="right" valign="top">void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#ab7bbc675ecb1bc714b160aba22393406">app</a></td></tr>
<tr class="memdesc:ab7bbc675ecb1bc714b160aba22393406"><td class="mdescLeft">&#160;</td><td class="mdescRight">application-specific data  <br /></td></tr>
<tr class="separator:ab7bbc675ecb1bc714b160aba22393406"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2b1cf84dfbbb313dd07afe2eba0f498b" id="r_a2b1cf84dfbbb313dd07afe2eba0f498b"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a2b1cf84dfbbb313dd07afe2eba0f498b">max_retransmit</a></td></tr>
<tr class="memdesc:a2b1cf84dfbbb313dd07afe2eba0f498b"><td class="mdescLeft">&#160;</td><td class="mdescRight">maximum re-transmit count (default 4)  <br /></td></tr>
<tr class="separator:a2b1cf84dfbbb313dd07afe2eba0f498b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf982474de09f45881ce3e31a8782118" id="r_abf982474de09f45881ce3e31a8782118"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcoap__fixed__point__t.html">coap_fixed_point_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#abf982474de09f45881ce3e31a8782118">ack_timeout</a></td></tr>
<tr class="memdesc:abf982474de09f45881ce3e31a8782118"><td class="mdescLeft">&#160;</td><td class="mdescRight">timeout waiting for ack (default 2 secs)  <br /></td></tr>
<tr class="separator:abf982474de09f45881ce3e31a8782118"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab2221cf0295db08a698d75292edb3e52" id="r_ab2221cf0295db08a698d75292edb3e52"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structcoap__fixed__point__t.html">coap_fixed_point_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#ab2221cf0295db08a698d75292edb3e52">ack_random_factor</a></td></tr>
<tr class="memdesc:ab2221cf0295db08a698d75292edb3e52"><td class="mdescLeft">&#160;</td><td class="mdescRight">ack random factor backoff (default 1.5)  <br /></td></tr>
<tr class="separator:ab2221cf0295db08a698d75292edb3e52"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e449eb256836dcf5932791f53881b6e" id="r_a0e449eb256836dcf5932791f53881b6e"><td class="memItemLeft" align="right" valign="top">unsigned int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a0e449eb256836dcf5932791f53881b6e">dtls_timeout_count</a></td></tr>
<tr class="memdesc:a0e449eb256836dcf5932791f53881b6e"><td class="mdescLeft">&#160;</td><td class="mdescRight">dtls setup retry counter  <br /></td></tr>
<tr class="separator:a0e449eb256836dcf5932791f53881b6e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9ddc6f7076a6c6f3781e65d8c7555489" id="r_a9ddc6f7076a6c6f3781e65d8c7555489"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structcoap__session__t.html#a9ddc6f7076a6c6f3781e65d8c7555489">dtls_event</a></td></tr>
<tr class="memdesc:a9ddc6f7076a6c6f3781e65d8c7555489"><td class="mdescLeft">&#160;</td><td class="mdescRight">Tracking any (D)TLS events on this sesison.  <br /></td></tr>
<tr class="separator:a9ddc6f7076a6c6f3781e65d8c7555489"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock">
<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00056">56</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>
</div><h2 class="groupheader">Field Documentation</h2>
<a id="ab2221cf0295db08a698d75292edb3e52" name="ab2221cf0295db08a698d75292edb3e52"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab2221cf0295db08a698d75292edb3e52">&#9670;&#160;</a></span>ack_random_factor</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcoap__fixed__point__t.html">coap_fixed_point_t</a> coap_session_t::ack_random_factor</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>ack random factor backoff (default 1.5) </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00091">91</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="abf982474de09f45881ce3e31a8782118" name="abf982474de09f45881ce3e31a8782118"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abf982474de09f45881ce3e31a8782118">&#9670;&#160;</a></span>ack_timeout</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcoap__fixed__point__t.html">coap_fixed_point_t</a> coap_session_t::ack_timeout</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>timeout waiting for ack (default 2 secs) </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00090">90</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="ab7bbc675ecb1bc714b160aba22393406" name="ab7bbc675ecb1bc714b160aba22393406"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab7bbc675ecb1bc714b160aba22393406">&#9670;&#160;</a></span>app</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* coap_session_t::app</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>application-specific data </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00088">88</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="ab360022130771a166ea0e93a1876ced4" name="ab360022130771a166ea0e93a1876ced4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab360022130771a166ea0e93a1876ced4">&#9670;&#160;</a></span>con_active</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> coap_session_t::con_active</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Active CON request sent. </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00073">73</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a8f8e37457b167cc8b95fadd7eeffd8d7" name="a8f8e37457b167cc8b95fadd7eeffd8d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8f8e37457b167cc8b95fadd7eeffd8d7">&#9670;&#160;</a></span>context</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structcoap__context__t.html">coap_context_t</a>* coap_session_t::context</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>session's context </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00070">70</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="af8b4ea1655029f581c5a85c93f4c742d" name="af8b4ea1655029f581c5a85c93f4c742d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af8b4ea1655029f581c5a85c93f4c742d">&#9670;&#160;</a></span>csm_tx</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__clock.html#ga97ff1502e211b4ee6c3f15a598833438">coap_tick_t</a> coap_session_t::csm_tx</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00083">83</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a84e90d62fbc324bdf21041269befe30d" name="a84e90d62fbc324bdf21041269befe30d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a84e90d62fbc324bdf21041269befe30d">&#9670;&#160;</a></span>delayqueue</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structcoap__queue__t.html">coap_queue_t</a>* coap_session_t::delayqueue</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>list of delayed messages waiting to be sent </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00074">74</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a9ddc6f7076a6c6f3781e65d8c7555489" name="a9ddc6f7076a6c6f3781e65d8c7555489"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9ddc6f7076a6c6f3781e65d8c7555489">&#9670;&#160;</a></span>dtls_event</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int coap_session_t::dtls_event</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Tracking any (D)TLS events on this sesison. </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00093">93</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a0e449eb256836dcf5932791f53881b6e" name="a0e449eb256836dcf5932791f53881b6e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0e449eb256836dcf5932791f53881b6e">&#9670;&#160;</a></span>dtls_timeout_count</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int coap_session_t::dtls_timeout_count</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>dtls setup retry counter </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00092">92</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a351217007fcd02e549b73569577fa5a1" name="a351217007fcd02e549b73569577fa5a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a351217007fcd02e549b73569577fa5a1">&#9670;&#160;</a></span>endpoint</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structcoap__endpoint__t.html">coap_endpoint_t</a>* coap_session_t::endpoint</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>session's endpoint </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00069">69</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="afcebad5cfefed99f0073ac037ba7d997" name="afcebad5cfefed99f0073ac037ba7d997"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afcebad5cfefed99f0073ac037ba7d997">&#9670;&#160;</a></span>ifindex</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int coap_session_t::ifindex</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>interface index </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00067">67</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="abe9912fc16ffc9c9f54b9cc0e898d0fb" name="abe9912fc16ffc9c9f54b9cc0e898d0fb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abe9912fc16ffc9c9f54b9cc0e898d0fb">&#9670;&#160;</a></span>last_ping</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__clock.html#ga97ff1502e211b4ee6c3f15a598833438">coap_tick_t</a> coap_session_t::last_ping</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00081">81</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a017ee7bfd8942df7a1c656fe52d5ac6a" name="a017ee7bfd8942df7a1c656fe52d5ac6a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a017ee7bfd8942df7a1c656fe52d5ac6a">&#9670;&#160;</a></span>last_pong</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__clock.html#ga97ff1502e211b4ee6c3f15a598833438">coap_tick_t</a> coap_session_t::last_pong</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00082">82</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a28348c0c301bce7201403aa5545ef2b6" name="a28348c0c301bce7201403aa5545ef2b6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a28348c0c301bce7201403aa5545ef2b6">&#9670;&#160;</a></span>last_rx_tx</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__clock.html#ga97ff1502e211b4ee6c3f15a598833438">coap_tick_t</a> coap_session_t::last_rx_tx</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00079">79</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="ad69783e1a9bc85a43d0bd6511de2c6a0" name="ad69783e1a9bc85a43d0bd6511de2c6a0"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad69783e1a9bc85a43d0bd6511de2c6a0">&#9670;&#160;</a></span>last_tx_rst</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__clock.html#ga97ff1502e211b4ee6c3f15a598833438">coap_tick_t</a> coap_session_t::last_tx_rst</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00080">80</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a527f7977596333c89e623c3deb621d25" name="a527f7977596333c89e623c3deb621d25"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a527f7977596333c89e623c3deb621d25">&#9670;&#160;</a></span>local_addr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcoap__address__t.html">coap_address_t</a> coap_session_t::local_addr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>local address and port </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00066">66</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="abc8462729a3fcdf21edc2aae125c04b8" name="abc8462729a3fcdf21edc2aae125c04b8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abc8462729a3fcdf21edc2aae125c04b8">&#9670;&#160;</a></span>local_if</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcoap__address__t.html">coap_address_t</a> coap_session_t::local_if</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>optional local interface address </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00064">64</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a2b1cf84dfbbb313dd07afe2eba0f498b" name="a2b1cf84dfbbb313dd07afe2eba0f498b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2b1cf84dfbbb313dd07afe2eba0f498b">&#9670;&#160;</a></span>max_retransmit</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned int coap_session_t::max_retransmit</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>maximum re-transmit count (default 4) </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00089">89</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="ac126597f3f66272ed3e9c5439570e4df" name="ac126597f3f66272ed3e9c5439570e4df"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac126597f3f66272ed3e9c5439570e4df">&#9670;&#160;</a></span>mtu</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned coap_session_t::mtu</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>path or CSM mtu </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00063">63</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="ab1a71a0cb19b2d509e7ac44a586a4e78" name="ab1a71a0cb19b2d509e7ac44a586a4e78"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ab1a71a0cb19b2d509e7ac44a586a4e78">&#9670;&#160;</a></span>next</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">struct <a class="el" href="structcoap__session__t.html">coap_session_t</a>* coap_session_t::next</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00057">57</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a2d91d4ac95843b0a893e4d22f081f611" name="a2d91d4ac95843b0a893e4d22f081f611"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d91d4ac95843b0a893e4d22f081f611">&#9670;&#160;</a></span>partial_pdu</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcoap__pdu__t.html">coap_pdu_t</a>* coap_session_t::partial_pdu</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>incomplete incoming pdu </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00078">78</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a9a70d6293b5af4165ad58115f1a4e63a" name="a9a70d6293b5af4165ad58115f1a4e63a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9a70d6293b5af4165ad58115f1a4e63a">&#9670;&#160;</a></span>partial_read</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t coap_session_t::partial_read</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>if &gt; 0 indicates number of bytes already read for an incoming message </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00077">77</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="af59543a005a01767382c6739cd710ee4" name="af59543a005a01767382c6739cd710ee4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af59543a005a01767382c6739cd710ee4">&#9670;&#160;</a></span>partial_write</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t coap_session_t::partial_write</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>if &gt; 0 indicates number of bytes already written from the pdu at the head of sendqueue </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00075">75</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a62089dd9c72836d322ae0ce0d0e7114f" name="a62089dd9c72836d322ae0ce0d0e7114f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a62089dd9c72836d322ae0ce0d0e7114f">&#9670;&#160;</a></span>proto</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="pdu_8h.html#a9f23fe72ad67820dcdf888bb8b619dde">coap_proto_t</a> coap_session_t::proto</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>protocol used </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00058">58</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a8a7bb416f1b131d5eeddd2c7915d4e3e" name="a8a7bb416f1b131d5eeddd2c7915d4e3e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a8a7bb416f1b131d5eeddd2c7915d4e3e">&#9670;&#160;</a></span>psk_identity</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>* coap_session_t::psk_identity</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00084">84</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a3d42db7192f7dd9b4dbc580623ae80b2" name="a3d42db7192f7dd9b4dbc580623ae80b2"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3d42db7192f7dd9b4dbc580623ae80b2">&#9670;&#160;</a></span>psk_identity_len</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t coap_session_t::psk_identity_len</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00085">85</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a68e9ded6d8b771bba584d50809cee98c" name="a68e9ded6d8b771bba584d50809cee98c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a68e9ded6d8b771bba584d50809cee98c">&#9670;&#160;</a></span>psk_key</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a>* coap_session_t::psk_key</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00086">86</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="af95ccb69ae49c6d8a2a3ccbd8d967067" name="af95ccb69ae49c6d8a2a3ccbd8d967067"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af95ccb69ae49c6d8a2a3ccbd8d967067">&#9670;&#160;</a></span>psk_key_len</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">size_t coap_session_t::psk_key_len</td>
        </tr>
      </table>
</div><div class="memdoc">

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00087">87</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a580cf637bab6c459b600f83b3fe0e720" name="a580cf637bab6c459b600f83b3fe0e720"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a580cf637bab6c459b600f83b3fe0e720">&#9670;&#160;</a></span>read_header</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="uthash_8h.html#aba7bc1797add20fe3efdf37ced1182c5">uint8_t</a> coap_session_t::read_header[8]</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>storage space for header of incoming message header </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00076">76</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a6efb100633d8a819e427cf1f97015440" name="a6efb100633d8a819e427cf1f97015440"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6efb100633d8a819e427cf1f97015440">&#9670;&#160;</a></span>ref</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned coap_session_t::ref</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>reference count from queues </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00061">61</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a5e1b647f8b5ce42ea7a0d0893fb3504a" name="a5e1b647f8b5ce42ea7a0d0893fb3504a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e1b647f8b5ce42ea7a0d0893fb3504a">&#9670;&#160;</a></span>remote_addr</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcoap__address__t.html">coap_address_t</a> coap_session_t::remote_addr</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>remote address and port </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00065">65</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a29f92f61ab5c863c90254ce71e3859eb" name="a29f92f61ab5c863c90254ce71e3859eb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a29f92f61ab5c863c90254ce71e3859eb">&#9670;&#160;</a></span>sock</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structcoap__socket__t.html">coap_socket_t</a> coap_session_t::sock</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>socket object for the session, if any </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00068">68</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a382b6afaed298581b57d62aaf043cfe3" name="a382b6afaed298581b57d62aaf043cfe3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a382b6afaed298581b57d62aaf043cfe3">&#9670;&#160;</a></span>state</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="coap__session_8h.html#a3e23bae819060da9cb76d8fc8aae9001">coap_session_state_t</a> coap_session_t::state</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>current state of relationaship with peer </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00060">60</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a9eb6890809e9aa01d225691bb4ae97db" name="a9eb6890809e9aa01d225691bb4ae97db"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9eb6890809e9aa01d225691bb4ae97db">&#9670;&#160;</a></span>tls</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void* coap_session_t::tls</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>security parameters </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00071">71</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a35d1d5a9363771686717634558f9a9f4" name="a35d1d5a9363771686717634558f9a9f4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a35d1d5a9363771686717634558f9a9f4">&#9670;&#160;</a></span>tls_overhead</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">unsigned coap_session_t::tls_overhead</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>overhead of TLS layer </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00062">62</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="a66b26cc53491f7a550ed7e7d93b0b145" name="a66b26cc53491f7a550ed7e7d93b0b145"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a66b26cc53491f7a550ed7e7d93b0b145">&#9670;&#160;</a></span>tx_mid</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t coap_session_t::tx_mid</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>the last message id that was used in this session </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00072">72</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<a id="ac39d8e22dbd5389177a75819dab125ea" name="ac39d8e22dbd5389177a75819dab125ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac39d8e22dbd5389177a75819dab125ea">&#9670;&#160;</a></span>type</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="coap__session_8h.html#a53c0f7c2c9ea53e2abc29d308337d4a5">coap_session_type_t</a> coap_session_t::type</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>client or server side socket </p>

<p class="definition">Definition at line <a class="el" href="coap__session_8h_source.html#l00059">59</a> of file <a class="el" href="coap__session_8h_source.html">coap_session.h</a>.</p>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="coap__session_8h_source.html">coap_session.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structcoap__session__t.html">coap_session_t</a></li>
    <li class="footer">Generated on Fri Dec 27 2024 09:57:44 for libcoap by <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.8 </li>
  </ul>
</div>
</body>
</html>
